<div ng-controller="shopSetCtrl">
    <!-- <form role="form" method="post" class="reservation-form" id="reservation-form" action="assets/reservation-form/reservation.php"> -->
    <form role="form" class="reservation-form" id="reservation-form">
        <div class="row">
            <div class="col-sm-6">
                <label>店铺名称</label>
                <div class="input-group date">
                    <input type="text" class="form-control datepicker" name="r_date" placeholder="请输入店铺名称" ng-model="shopData.name">
                    <div class="input-group-addon">
                        <span class="glyphicon glyphicon-home"></span>
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <label>联系电话</label>
                <div class="input-group">
                    <input type="text" class="form-control " name="r_name" id="r_name" placeholder="请输入联系电话" ng-model="shopData.tele_phone">
                    <div class="input-group-addon">
                        <span class="glyphicon glyphicon-phone"></span>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-6">
                <label>桌位设置</label>
                <div class="input-group">
                    <input type="text" class="form-control" name="r_email" id="r_email" placeholder="请输入桌号" ng-model="shopData.num">
                    <div class="input-group-addon">
                        <span class="glyphicon glyphicon-cutlery"></span>
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <label>店铺LOGO</label>
                <div class="input-group">
                    <!-- <input type="text" class="form-control" name="r_time" id="r_time" placeholder="请输入店铺名称">
                    <span class="input-group-addon">
                        <span class="glyphicon glyphicon-open"></span>
                    </span> -->
                    <input type="text" class="form-control" name="r_time" id="r_time" placeholder="请上传店铺LOGO" value="{{setImg}}">
                    <a href="javascript:;" id="quickdelete" title="清空" class="quickdelete" style="top: 0px;right: 0px;"></a>
                    <span class="input-group-addon">
                        <!-- <input id='hiddenFilePhotos' type="file" nv-file-select="" uploader="uploaderImage" ng-show="" multiple /> -->
                        <input id='hiddenFilePhotos' accept="image/bmp, image/png, image/tiff, image/gif, image/jpeg" type="file" nv-file-select="" uploader="uploaderImage" ng-show=""/>
                        <div onclick="javascript: $('#hiddenFilePhotos').click();" class="mousehand">
                            <span class="glyphicon glyphicon-open"></span>
                            <a style="color: black;">点击上传</a>
                        </div>
                    </span>
                    <!-- <div ng-repeat="item in uploaderImage.queue">
                        <strong ng-bind="item.file.name"></strong>
                        <a ng-click="uploaderImage.funcRemoveItem(item)"><span class="glyphicon glyphicon-remove"></span></a>
                    </div> -->
                </div>
            </div>
        </div>
        <div class="row" style="padding-right: 15px;padding-left: 15px;">
            <label>店铺地址</label>
            <div class="input-group">
                <input type="text" class="form-control" name="r_phone_number" id="r_phone_number" placeholder="请输入地址" ng-model="shopData.address">
                <div class="input-group-addon">
                    <span class="glyphicon glyphicon-map-marker"></span>
                </div>
            </div>
        </div>
        <input type="submit" class="btn btn-xl btn-dark btn-block" name="r_submit" value="提交" ng-click="submitShopData()">
        <div id="r_result"></div>  
    </form>

</div>